/*
 * @Copyright: 2016 www.yyfax.com Inc. All rights reserved.
 */
package com.yyfax.pay.order.model.po;

import com.yyfax.framework.model.BasePO;

/**
 * 查询任务,yyfax_pay.query_task
 *
 * @author buyi
 * @date 2017-04-21 08:18:47
 * @since 1.0.0
 */
public class QueryTaskPO extends BasePO {
	private static final long serialVersionUID = 1L;

	/** 自增主键 id */
	private Integer id;
	/** 商户编号，该值提供给接入方 merchant_code */
	private String merchantCode;
	/** 商户订单号 order_id */
	private String orderId;
	/** 业务流水号，支付通道返回 serial_no */
	private String serialNo;
	/** 类型 type */
	private String type;
	/** 订单号,支付订单号,根据类型指向相应表的订单号 trade_order_id */
	private String tradeOrderId;
	/** 支付通道编号 payment_code */
	private String paymentCode;
	/** 开始查询时间 start_time */
	private String startTime;
	/** 下次查询时间 next_time */
	private String nextTime;
	/** 结束查询时间 end_time */
	private String endTime;
	/** 查询次数,初始化0 query_no */
	private Integer optNo;
	/** 最大查询次数 max_no */
	private Integer maxNo;
	/** 最近查询时间 last_notify_time */
	private String lastTime;
	/** 状态，0-未发送，1-发送中，2-发送成功 state */
	private String state;
	/** 备注 remark */
	private String remark;
	/** 创建时间 create_time */
	private String createTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMerchantCode() {
		return merchantCode;
	}

	public void setMerchantCode(String merchantCode) {
		this.merchantCode = merchantCode;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getSerialNo() {
		return serialNo;
	}

	public void setSerialNo(String serialNo) {
		this.serialNo = serialNo;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTradeOrderId() {
		return tradeOrderId;
	}

	public void setTradeOrderId(String tradeOrderId) {
		this.tradeOrderId = tradeOrderId;
	}

	public String getPaymentCode() {
		return paymentCode;
	}

	public void setPaymentCode(String paymentCode) {
		this.paymentCode = paymentCode;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getNextTime() {
		return nextTime;
	}

	public void setNextTime(String nextTime) {
		this.nextTime = nextTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public Integer getOptNo() {
		return optNo;
	}

	public void setOptNo(Integer optNo) {
		this.optNo = optNo;
	}

	public Integer getMaxNo() {
		return maxNo;
	}

	public void setMaxNo(Integer maxNo) {
		this.maxNo = maxNo;
	}

	public String getLastTime() {
		return lastTime;
	}

	public void setLastTime(String lastTime) {
		this.lastTime = lastTime;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
}